package cn.javav.sso.dao;

import java.util.List;

public interface BaseDao<T> {
	
	public void insert(T entity);
	
	public void delete(T entity);
	
	public void deleteById(int id);
	
	public void update(T entity);
	
	public T getById(int id);
	
	public List<T> getByName(String name);
	
	public List<T> getAll();
	
}
